package com.yufubao.strat;

import com.yufubao.strat.config.JjjNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@EnableAspectJAutoProxy(exposeProxy = true,proxyTargetClass = true)
@SpringBootApplication(scanBasePackages = {"com.yufubao"})
@MapperScan(basePackages = {"com.yufubao.*.mapper.*"}, nameGenerator = JjjNameGenerator.class)
public class YufubaoStratApplication {

    public static void main(String[] args) {
        SpringApplication.run(YufubaoStratApplication.class, args);
    }
}